package anotherMessage;

import javax.xml.crypto.Data;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
import java.util.regex.Pattern;

public class test {
    public static void main(String[] args) {
//       try( OutputStream outputStream=new FileOutputStream("aa.txt");)
//       {
//           outputStream.write("AA".getBytes());
//       }
//       catch (Exception e)
//       {
//
//       }
        Integer a[]=new Integer[]{1,2,2,2,3,4,3213,2212,2232};
        Arrays.sort(a, new Comparator<Integer>(

        ) {

            @Override
            public int compare(Integer integer, Integer t1) {
                return 0;
            }
        });

    }
}
